﻿#region
/*******************************************************************************
** File Name:		    IRightsTypeService.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.Entity;
using Phoenix.Service.Model;

namespace Phoenix.Service.Contracts
{
    public interface IRightsTypeService
    {
        #region  Auto Generation

        void AddRightsType(RightsTypeModel model);

		void UpdateByTypeID (RightsTypeModel model );

		void DeleteByTypeID (System.Int32 typeID );
		 
        RightsTypeModel GetByTypeID (System.Int32 typeID );
        

		#endregion

        IList<RightsTypeModel> GetAll();

        IList<RightsAndTypeModel> GetRightsAndType();

        void RemoveRightsAndTypeCache();

        void DeleteRightAndType(int typeID);
    }
}